package com.xinchen.aiounlimit.app

import androidx.lifecycle.ViewModelStore
import com.maple.base.app.BaseApp
import com.maple.utils.const.UtilsInit

class MyApplication: BaseApp() {

    companion object {
        @JvmStatic
        lateinit var instance: MyApplication
            private set
    }

    override fun getAppPackageName(): String = this.packageName

    override fun initApp() {
        super.initApp()
        instance = this
        UtilsInit.init(getAppPackageName())
    }

    override val viewModelStore: ViewModelStore
        get() = ViewModelStore()

}